/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Objetos;

/**
 *
 * @author Administrador
 */
import java.awt.Color;
import java.awt.Graphics;
import java.util.TreeMap;
import pantallajuegoreducido.PantallaJuego;

public class Pared extends Figura{

    public Pared(Integer x0,Integer y0,Integer w0,Integer h0,Color color,PantallaJuego pantalla,TreeMap <Integer,Integer> tc){
        super(x0,y0,w0,h0,color,pantalla,tc);
    }

    @Override
     public void dibujate(Graphics g) {
        g.setColor(color);
        g.fillRect(x, y, w, h);
     }  
}